﻿using QG.FrontDesk.BLL.IService;
using QG.FrontDesk.DAL.IRepository;
using QG.FrontDesk.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace QG.FrontDesk.BLL.Service
{
    public class DevelopmentPhaseService : IDevelopmentPhaseService
    {
        private IDevelopmentPhaseRepository developmentPhaseRepository;

        public DevelopmentPhaseService(IDevelopmentPhaseRepository developmentPhaseRepository)
        {
            this.developmentPhaseRepository = developmentPhaseRepository;
        }
        /// <summary>
        /// 获取所有公司发展阶段
        /// </summary>
        /// <returns></returns>
        public List<DevelopmentPhase> GetDevelopmentPhases()
        {
            return developmentPhaseRepository.GetDevelopmentPhases();
        }
    }
}
